package org.jeecg.modules.cosmetic.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.cosmetic.handler.PackageAuditHandler;
import org.jeecg.modules.cosmetic.model.dto.PackageResultDTO;
import org.jeecg.modules.cosmetic.model.vo.PackageAuditVO;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * <p>
 * 宣称信息表 前端控制器
 * </p>
 *
 * @author liqing
 * @since 2023-03-16
 */
@Api(tags = "包装审核")
@RestController
@RequestMapping("/api/audit")
public class TPackageAuditController {

    @Resource
    private PackageAuditHandler packageAuditHandler;

    @ApiOperation(value = "包装审核-提交审核", notes = "包装审核-提交审核")
    @PostMapping(value = "/submit")
    public Result<PackageResultDTO> submitPackAudit(@RequestBody PackageAuditVO vo) {
        return packageAuditHandler.submitPackAudit(vo);
    }
}
